const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
  color: state => state.app.color,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  fullName: state => state.user.name,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,
  routers: state => state.appSetting.routers,
  load: state => state.appSetting.load,
  userId: state => state.user.userId
}

export default getters
